package com.lzyjkz.quick_admin.web.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

@Controller
@Tag(name = "test")
@RequestMapping("/test")
public class test {
    @GetMapping("/test")
    @ResponseBody
    public Mono<String> t() {
        System.out.println("/test");
        return Mono.just("test");
    }
    @GetMapping("/test2")
    @ResponseBody
    public String t2() {
        System.out.println("/test2");
        return "test2";
    }
}
